package org.idea.qiyu.alarm.starter.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author linhao
 * @Date created in 6:47 下午 2021/7/13
 */
@RestController
public class TestController {

    @GetMapping(value = "/do-test")
    public String doTest(int i){
        System.out.println("this is test");
        System.out.println(10/i);
        return "success";
    }
}
